JtlWooCommerceConnector\Controllers\ImageController D

Total Complexity 154
Dependencies 28
Dependents 2
Total lines 1,080
Lines of code 643
Logical lines of code 397
Comment lines 226
Methods 33
Properties 2

Methods 33

Method Rating Maintainability Complexity Lines of code
saveImage()
A
38 13 63
productImagePull()
A
42 13 47
pushProductImage()
A
41 12 58
deleteProductImage()
A
42 12 54
addNextImages()
A
42 11 48
masterProductImageStats()
A
46 9 38
fetchProductAttachments()
A
49 8 30
fetchProductAttachmentIds()
S
52 7 26
deleteImageTermMeta()
S
51 6 28
statistic()
S
54 6 21
getImageAlt()
S
58 5 16
push()
S
59 5 14
relinkImage()
S
52 4 26
deleteIfNotUsedByOthers()
S
63 5 10
deleteData()
S
63 4 12
categoryImagePullByQuery()
S
59 3 14
getNextAvailableImageFilename()
S
59 3 13
filterAlreadyLinkedProducts()
S
61 3 12
getManufacturerImagePullQuery()
S
65 3 9
getCategoryImagePullQuery()
S
65 3 9
pull()
S
59 2 14
manufacturerImagePull()
S
65 2 9
deleteAllProductImages()
S
63 2 10
pushCategoryImage()
S
64 2 9
pushManufacturerImage()
S
64 2 9
getGalleryImages()
S
67 2 7
isAttachmentUsedInOtherPlaces()
S
62 1 13
isCoverImage()
S
80 1 3
__construct()
S
75 1 4
delete()
S
79 1 3
sanitizeImageName()
S
67 1 7
addProductImagesForPost()
S
75 1 4
createFilePath()
S
77 1 3